package com.github.shiqiyue.learn.curator;

import org.apache.curator.framework.CuratorFramework;

/***
 * 获取节点-测试
 * @author wenyao.wu
 * @date 2019/1/21
 */
public class GetTest {

    public static void main(String[] args) throws Exception {
        CuratorFramework client = ClientUtil.getClient(null);
        String result = new String(ClientUtil.getData(client, "/t1"));
        System.out.println(result);

    }
}
